import { memo } from "react"


const Tags = memo((props) => {
    const { tags } = props
    return (
        <div className="tag-list">
            {
                tags.map(tag => {
                    return (
                        <button type="button" className="tag-gt1" key={tag}>
                            {tag}
                        </button>
                    )
                })
            }
        </div>
    )
})

export default Tags